package com.rht.gulimallorder.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;

/**
 * 订单操作历史记录
 * 
 * @author rht
 * @email rht@qq.com
 * @date 2024-11-06 17:28:44
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("oms_order_operate_history")
public class OrderOperateHistoryEntity implements Serializable {
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
			@TableId
			private Long id;

	/**
	 * 订单id
	 */
			private Long orderId;

	/**
	 * 操作人[用户；系统；后台管理员]
	 */
			private String operateMan;

	/**
	 * 操作时间
	 */
			   @DateTimeFormat(pattern = "yyyy-MM-dd")
		private Date createTime;

	/**
	 * 订单状态【0->待付款；1->待发货；2->已发货；3->已完成；4->已关闭；5->无效订单】
	 */
			private Integer orderStatus;

	/**
	 * 备注
	 */
			private String note;


}
